<%@ include file="include.jsp" %>


<!-- start page -->
<div id="page"><!-- start content -->
<div id="content">
<div class="post">
<h1 class="title">Here are the reservations on the room:</h1>
<div class="entry">


<body>

<c:forEach var="reservation" items="${reservationList}">

<%-- "reservation" is the looped scoped variable --%>
<%-- "items="${reservationList}" is what you put in the model --%>

<h3>Reservation Number: ${reservation.reservationNumber}</h3>
<ul>
<li>Name: ${reservation.guestName}</li>
<li>Street Address: ${reservation.address1}</li>
<li>City: ${reservation.city}</li>
<li>State: ${reservation.state}</li>
<li>Zip: ${reservation.zip}</li>
<li>Phone: ${reservation.phoneNumber}</li>
<li>E-mail: ${reservation.email}</li>
<li>Room Number: ${reservation.roomNumber}</li>
<li>Number of Guests: ${reservation.totalNumberOfGuests}</li>
<li>Check in date: ${reservation.checkIn}</li> 
<li>Check out date: ${reservation.checkOut}</li>
</ul>

</c:forEach>


<a href="home.html">return home</home>
</body>


</div>
<div class="meta">
<p class="byline"><br />
</p>
<p class="links">&nbsp;<b>|</b>&nbsp;</p>
</div>
</div>
</div>
<!-- end content --><!-- start sidebar -->
<div id="sidebar">

<img src="images/princessTub.jpg">
  
</div>
<!-- end sidebar -->

<div style="clear: both;"></div>
</div>





